package com.kcht.np.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcht.np.common.domain.BaseInsertUpdateDateEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
  * <p>
  * 后台系统角色
  * </p>
  *
  * @Package:        com.kcht.np.mp.entity
  * @Description:    后台系统角色
  * @Author:         liuqi
  * @CreateDate:     2020/3/31 11:44
 */

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@Accessors(chain = true)
@TableName(value = "tb_sys_role")
@NoArgsConstructor
@AllArgsConstructor
public class SysRole extends BaseInsertUpdateDateEntity implements java.io.Serializable {

    /**
     * @description: 角色ID
     * @date: 2019/12/11 22:15
     */
    @TableId(value = "rid", type = IdType.AUTO)
    private Long rid;

    /**
     * @description: 角色 名称
     * @date: 2019/12/11 22:15
     */
    private String roleName;

    /**
     * @description: 角色 描述
     * @date: 2019/12/11 22:15
     */
    private String description;

}